﻿package com.example.demo.dao
import com.example.demo.dbmodels.*
import me.liuwj.ktorm.schema.*
import java.math.BigDecimal
/**
 * View
 *  VIEW
 **/
object VBedDao : Table<VBed>("v_bed"){
	var id = int("id").bindTo { it.id }
	var district_code = int("district_code").bindTo { it.district_code }
	var dept_code = int("dept_code").bindTo { it.dept_code }
	var bed_code = int("bed_code").bindTo { it.bed_code }
	var bed_name = int("bed_name").bindTo { it.bed_name }
	var bed_name2 = int("bed_name2").bindTo { it.bed_name2 }
	var bed_card_id = int("bed_card_id").bindTo { it.bed_card_id }
	var room_code = int("room_code").bindTo { it.room_code }
	var bed_type = int("bed_type").bindTo { it.bed_type }
	var patient_id = int("patient_id").bindTo { it.patient_id }
	var status = int("status").bindTo { it.status }
	var remark = int("remark").bindTo { it.remark }
	var update_time = int("update_time").bindTo { it.update_time }
	var update_by = int("update_by").bindTo { it.update_by }
	var update_by_who = int("update_by_who").bindTo { it.update_by_who }
	var device_no = int("device_no").bindTo { it.device_no }
	var device_ip = int("device_ip").bindTo { it.device_ip }
}
